<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="assets/mui/css/mui.min.css">
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/category.css">
    <title>乐淘云购</title>

</head>

<body>
    <header id="header" class="mui-bar mui-bar-nav">

        <h1 class="mui-title">乐淘分类</h1>
        <a class="mui-icon mui-icon-search mui-pull-right"></a>
    </header>
    <!-- 内容区域 -->
    <div class="my-content">
        <div class="category-left">
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <div class="links" id="tem1">

                    </div>
                </div>
            </div>

        </div>
        <div class="category-right">
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <ul class="brand-list" mui-clearfix id="mybrands">

                    </ul>
                </div>
            </div>

        </div>
    </div>
    <nav class="mui-bar mui-bar-tab">
        <a class="mui-tab-item" href="index.html">
            <span class="mui-icon mui-icon-home"></span>
            <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-tab-item  mui-active" href="category.html">
            <span class="mui-icon mui-icon-bars"></span>
            <span class="mui-tab-label">分类</span>
        </a>
        <a class="mui-tab-item" href="#tabbar-with-contact">
            <span class="mui-icon mui-icon-contact"></span>
            <span class="mui-tab-label">购物车</span>
        </a>
        <a class="mui-tab-item" href="user.html">
            <span class="mui-icon mui-icon-contact"></span>
            <span class="mui-tab-label">会员中心</span>
        </a>
    </nav>
    <script src="assets/zepto/zepto.min.js"></script>
    <script src="assets/mui/js/mui.min.js"></script>
    <script src="assets/artTemplate/template-native.js"></script>
    <script src="js/common.js"></script>
    <script src="js/category.js"></script>

    <script type="text/template" id="template1">
        <%for(var i=0;i<msg.length;i++){%>
            <a href="#" data-id="<%=msg[i].id%>"><%=msg[i].categoryName%></a>
        <%}%>
    </script>
    <script type="text/template" id="template2">
        <%for(var j=0;j<msg2.length;j++){ %>
            <li>
                <a href="#">
                    <img src=<%=msg2[j].brandLogo%>>
                    <p><%=msg2[j].brandName%></p>
                </a>
            </li>
        <%}%>
    </script>
</body>

</html>